#!/bin/sh -x

# create custom files in the base system

# import variables
. scripts/vars.sh

# create loader.conf
cat > ${GYPSY_WORLDDIR}/boot/loader.conf << _END
vfs.root.mountfrom="cd9660:/dev/iso9660/GYPSY"
vfs.root.mountfrom.options="ro"
_END

# create rc.conf
cat > ${GYPSY_WORLDDIR}/etc/rc.conf << _END
updated_motd="NO"
varsize="32m"
root_rw_mount="NO"
weekly_whatis_enable="NO"
hostname="gypsy"
powerd_enable="YES"
dumpdev="NO"
hostid_enable="NO"
_END

# create etc/fstab
cat > ${GYPSY_WORLDDIR}/etc/fstab << _END
proc			/proc		procfs	rw		0	0
_END

# create etc/passwd
